package com.brsya.movie.contract;

import com.brsya.base.base.BaseView;
import com.brsya.base.bean.BaseListBean;
import com.brsya.base.bean.InventoryDetailBean;

import java.util.List;
import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * Created by Brsya
 * CreateDate: 2022/7/7  10:31
 * Description:
 * 片单详情列表
 */
public interface InventoryDetailContract {
    interface Model {
        /**
         * 获取片单详情
         */
        Observable<BaseListBean<InventoryDetailBean>> getInventoryDetail(Map<String, Object> par);
    }

    interface View extends BaseView {
        /**
         * 显示片单详情
         *
         * @param inventoryList 影视列表
         */
        void showInventoryList(List<InventoryDetailBean> inventoryList);

        /**
         * 无数据
         */
        void noData();
    }

    interface Presenter {

        /**
         * 获取片单详情
         *
         * @param titleId 片单id
         */
        void getInventoryDetail(int titleId);

    }
}
